package sartoservicesync.entities.rakuten;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class RakutenOrder  {
	private String order_no;
	private String total;
	private String shipping;
	private String status;
	private String comment_client;
	private RakutenKunde client;
	private RakutenDeliveryAdress delivery_address;
	private String invoice_no;
	
	@XmlElementWrapper
	@XmlElement(name = "item")
	private List<RakutenOrderItem> items = new ArrayList<RakutenOrderItem>();
	
	public String getOrder_no() {
		return order_no;
	}
	public void setOrder_no(String order_no) {
		this.order_no = order_no;
	}
	public String getTotal() {
		return total;
	}
	public void setTotal(String total) {
		this.total = total;
	}
	public String getShipping() {
		return shipping;
	}
	public void setShipping(String shipping) {
		this.shipping = shipping;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getComment_client() {
		return comment_client;
	}
	public void setComment_client(String comment_client) {
		this.comment_client = comment_client;
	}
	public RakutenKunde getClient() {
		return client;
	}
	public void setClient(RakutenKunde client) {
		this.client = client;
	}
	public RakutenDeliveryAdress getDelivery_address() {
		return delivery_address;
	}
	public void setDelivery_address(RakutenDeliveryAdress delivery_address) {
		this.delivery_address = delivery_address;
	}
	public List<RakutenOrderItem> getItems() {
		return items;
	}
	public void setItems(List<RakutenOrderItem> items) {
		this.items = items;
	}
	
	public String getInvoice_no() {
		return invoice_no;
	}
	public void setInvoice_no(String invoice_no) {
		this.invoice_no = invoice_no;
	}
	@Override
	public String toString() {
		return "RakutenOrder [order_no=" + order_no + ", total=" + total
				+ ", shipping=" + shipping + ", status=" + status
				+ ", comment_client=" + comment_client + ", invoice_no="
				+ invoice_no + ", client=" + client + ", delivery_address="
				+ delivery_address + ", items=" + items + "]";
	}

	
	
	
	
}
